All Packages Class Hierarchy This Package Previous Next Index
Interface java.naming.NameClassEnumeration
- public interface NameClassEnumeration
- extends Enumeration
This is the enumeration interface for enumerating NameClassPair returned by
Context.list(). It extends Enumeration to allow type-specific
objects (in this case 'NameClassPair') to be returned.
-
next()
- Retrieves the next name/class pair in the enumeration.
next
public abstract NameClassPair next() throws NamingException
- Retrieves the next name/class pair in the enumeration.
- Returns:
- The next name/class pair in the enumeration.
All Packages Class Hierarchy This Package Previous Next Index